package com.stop.think.dao.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author zhaolipeng
 */
@Getter
@Setter
@Table
@Entity
@DynamicUpdate
public class SendSmsMsgError {

  @Id
  @GeneratedValue(generator = "assignedIdGenerator")
  @GenericGenerator(name = "assignedIdGenerator", strategy = "assigned")
  private String id;

  private String shopId;

  private LocalDateTime createDate;

  private String reason;

  private boolean success;
}